package models;

/**
 * Created by IntelliJ IDEA.
 * User: zhang_zhihong
 * Date: 11/03/27
 * Time: 11:24
 * To change this template use File | Settings | File Templates.
 */
import play.db.jpa.Model;
import javax.persistence.Entity;

@Entity
public class User extends Model {
    public String email;
    public String password;
    public String fullname;
    public boolean isAdmin;

    public User(String email, String password, String fullname) {
        this.email = email;
        this.password = password;
        this.fullname = fullname;
    }
}